#include <cstdlib>
#include <iostream>

using namespace std;

void encripta(char *txt);

int main(int argc, char *argv[]) {
	char texto[80];
	printf("informe o texto:\n");
	scanf("%s", texto);

	encripta(texto);

	return EXIT_SUCCESS;
}

void encripta(char *txt){
	int cont;
	char aux;
	for (cont = 0; cont < strlen(txt); cont++){
		aux = txt[cont];
		if (aux == 'Z') 
			aux = 'A';
		else
			if (aux == 'z')
				aux = 'a';
			else
				aux = aux + 1;

		printf("%c", aux);
	}
}